import requests
import json


def get_vote():
    # start_url = 'https://pvp.qq.com/cp/a20240424vote/index.html'
    data= {
    "iChartId": "289066",
    "iSubChartId": "289066",
    "sIdeToken": "smu7mB",
    "e_code": "0",
    "g_code": "0",
    "eas_url": "http%3A%2F%2Fpvp.qq.com%2Fcp%2Fa20240424vote%2F",
    "eas_refer": "http%3A%2F%2Fnoreferrer%2F%3Freqid%3De6176db6-1125-4353-9618-4dccc9659246%26version%3D27",
    "sMiloTag": "AMS-yxzj-0521190357-IyIF0i-638447-1036220",
    "channel": "H5"
    }


    response2= requests.post('https://comm.ams.game.qq.com/ide/',data=data)

    res3=json.loads(response2.text)
    return res3

    # now_time= res3["jData"]["nowtime"]
    # mvote :dict = res3["jData"]["membervotes"]